"""djangoProject URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from DjangoWeb import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('index/', views.index, name='index'),
    path('index/课程选择/', views.lesson_choose, name='课程选择'),
    path('index/培养方案定制/', views.prelesson_choose, name='培养方案定制'),
    path('index/修改密码/', views.change_pwd, name='修改密码'),
    path('index/选课时间设定/', views.set_time, name='选课时间设定'),
    path('登录/', views.login, name='登录'),
    path('index/学生补选/', views.student_twice_choose, name='学生补选'),
    path('index/选课结果-学生/', views.lesson_result_student, name='选课结果-学生'),
    path('index/选课结果-教师/', views.lesson_result_teacher, name='选课结果-教师')
]
